package com.jinyou.utils.common;

/**
 * Created by Administrator on 2017/1/10.
 */
public class LocationBean {

    /**
     * status : 1
     * info : OK
     * infocode : 10000
     * regeocode : {"formatted_address":"山东省济南市历下区智远街道中海紫御东郡(西区)中海紫御东郡西区","addressComponent":{"country":"中国","province":"山东省","city":"济南市","citycode":"0531","district":"历下区","adcode":"370102","township":"智远街道","towncode":"370102013000","neighborhood":{"name":"中海紫御东郡(西区)","type":"商务住宅;住宅区;住宅小区"},"building":{"name":[],"type":[]},"streetNumber":{"street":"轻风路","number":"5号","location":"117.111153,36.6978939","direction":"东","distance":"102.199"},"businessAreas":[[]]}}
     */

    private String status;
    private String info;
    private String infocode;
    private RegeocodeBean regeocode;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getInfocode() {
        return infocode;
    }

    public void setInfocode(String infocode) {
        this.infocode = infocode;
    }

    public RegeocodeBean getRegeocode() {
        return regeocode;
    }

    public void setRegeocode(RegeocodeBean regeocode) {
        this.regeocode = regeocode;
    }

    public static class RegeocodeBean {
        /**
         * formatted_address : 山东省济南市历下区智远街道中海紫御东郡(西区)中海紫御东郡西区
         * addressComponent : {"country":"中国","province":"山东省","city":"济南市","citycode":"0531","district":"历下区","adcode":"370102","township":"智远街道","towncode":"370102013000","neighborhood":{"name":"中海紫御东郡(西区)","type":"商务住宅;住宅区;住宅小区"},"building":{"name":[],"type":[]},"streetNumber":{"street":"轻风路","number":"5号","location":"117.111153,36.6978939","direction":"东","distance":"102.199"},"businessAreas":[[]]}
         */

        private String formatted_address;
        private AddressComponentBean addressComponent;

        public String getFormatted_address() {
            return formatted_address;
        }

        public void setFormatted_address(String formatted_address) {
            this.formatted_address = formatted_address;
        }

        public AddressComponentBean getAddressComponent() {
            return addressComponent;
        }

        public void setAddressComponent(AddressComponentBean addressComponent) {
            this.addressComponent = addressComponent;
        }

        public static class AddressComponentBean {
            /**
             * country : 中国
             * province : 山东省
             * city : 济南市
             * citycode : 0531
             * district : 历下区
             * adcode : 370102
             * township : 智远街道
             * towncode : 370102013000
             * neighborhood : {"name":"中海紫御东郡(西区)","type":"商务住宅;住宅区;住宅小区"}
             * building : {"name":[],"type":[]}
             * streetNumber : {"street":"轻风路","number":"5号","location":"117.111153,36.6978939","direction":"东","distance":"102.199"}
             * businessAreas : [[]]
             */

            private String country;
            private String province;
            private String city;
            private String citycode;
            private String district;
            private String adcode;
            private String township;
            private String towncode;
//            private NeighborhoodBean neighborhood;
//            private BuildingBean building;
//            private StreetNumberBean streetNumber;
//            private List<List<?>> businessAreas;

            public String getCountry() {
                return country;
            }

            public void setCountry(String country) {
                this.country = country;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getCitycode() {
                return citycode;
            }

            public void setCitycode(String citycode) {
                this.citycode = citycode;
            }

            public String getDistrict() {
                return district;
            }

            public void setDistrict(String district) {
                this.district = district;
            }

            public String getAdcode() {
                return adcode;
            }

            public void setAdcode(String adcode) {
                this.adcode = adcode;
            }

            public String getTownship() {
                return township;
            }

            public void setTownship(String township) {
                this.township = township;
            }

            public String getTowncode() {
                return towncode;
            }

            public void setTowncode(String towncode) {
                this.towncode = towncode;
            }

//            public NeighborhoodBean getNeighborhood() {
//                return neighborhood;
//            }
//
//            public void setNeighborhood(NeighborhoodBean neighborhood) {
//                this.neighborhood = neighborhood;
//            }
//
//            public BuildingBean getBuilding() {
//                return building;
//            }
//
//            public void setBuilding(BuildingBean building) {
//                this.building = building;
//            }
//
//            public StreetNumberBean getStreetNumber() {
//                return streetNumber;
//            }
//
//            public void setStreetNumber(StreetNumberBean streetNumber) {
//                this.streetNumber = streetNumber;
//            }
//
//            public List<List<?>> getBusinessAreas() {
//                return businessAreas;
//            }
//
//            public void setBusinessAreas(List<List<?>> businessAreas) {
//                this.businessAreas = businessAreas;
//            }

//            public static class NeighborhoodBean {
//                /**
//                 * name : 中海紫御东郡(西区)
//                 * type : 商务住宅;住宅区;住宅小区
//                 */
//
//                private String name;
//                private String type;
//
//                public String getName() {
//                    return name;
//                }
//
//                public void setName(String name) {
//                    this.name = name;
//                }
//
//                public String getType() {
//                    return type;
//                }
//
//                public void setType(String type) {
//                    this.type = type;
//                }
//            }
//
//            public static class BuildingBean {
//                private List<?> name;
//                private List<?> type;
//
//                public List<?> getName() {
//                    return name;
//                }
//
//                public void setName(List<?> name) {
//                    this.name = name;
//                }
//
//                public List<?> getType() {
//                    return type;
//                }
//
//                public void setType(List<?> type) {
//                    this.type = type;
//                }
//            }
//
//            public static class StreetNumberBean {
//                /**
//                 * street : 轻风路
//                 * number : 5号
//                 * location : 117.111153,36.6978939
//                 * direction : 东
//                 * distance : 102.199
//                 */
//
//                private String street;
//                private String number;
//                private String location;
//                private String direction;
//                private String distance;
//
//                public String getStreet() {
//                    return street;
//                }
//
//                public void setStreet(String street) {
//                    this.street = street;
//                }
//
//                public String getNumber() {
//                    return number;
//                }
//
//                public void setNumber(String number) {
//                    this.number = number;
//                }
//
//                public String getLocation() {
//                    return location;
//                }
//
//                public void setLocation(String location) {
//                    this.location = location;
//                }
//
//                public String getDirection() {
//                    return direction;
//                }
//
//                public void setDirection(String direction) {
//                    this.direction = direction;
//                }
//
//                public String getDistance() {
//                    return distance;
//                }
//
//                public void setDistance(String distance) {
//                    this.distance = distance;
//                }
//            }
        }
    }
}
